home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
patches
/
wcp11a1.exe
/
DOSUP.BAT
next >
Wrap
DOS Batch File
|
1995-05-18
|
5KB
|
154 lines
@ECHO OFF
IF "%1"=="/?" GOTO FIRST
IF "%1"=="" GOTO FIRST
IF EXIST %1\WINCOMM.EXE GOTO GOOD
ECHO.
ECHO The WinComm PRO 1.1 directory you specified is invalid.
ECHO Type DOSUP /? for help.
ECHO.
GOTO END
:GOOD
IF EXIST UWCP11A.RTP GOTO BIGBEGINGO
GOTO SMALLBEGIN
:SMALLBEGIN
CLS
ECHO.
ECHO !! IMPORTANT NOTE !!
ECHO.
ECHO Please be sure that you are currently running the March 24th, 1995
ECHO release of WinComm PRO. Executing this patch on ANY release of
ECHO WinComm dated prior to March 24, 1995 will cause unpredictable
ECHO results and will force you to reinstall the product.
ECHO.
ECHO The version date is listed in the Help/About screen within WinComm
ECHO PRO. If you are unsure as to what date your current installation
ECHO of WinComm PRO 1.1, press CTRL-C NOW to abort patch execution.
ECHO.
PAUSE
PAUSE
:SMALLBEGINGO
CLS
IF NOT EXIST UWCP11C1.RTP GOTO SMALLPERROR
IF NOT EXIST UWCP11C2.RTP GOTO SMALLPERROR
IF NOT EXIST UWCP11E.RTP GOTO SMALLPERROR
IF NOT EXIST PATCH.EXE GOTO SMALLPERROR
ECHO The patch process is about to begin ...
ECHO.
ECHO Please be sure that you have completely exited from Windows
ECHO and are not running this patch from within a DOS session.
ECHO.
ECHO If you are unsure, press CTRL-C now to stop the upgrade, otherwise:
ECHO.
PAUSE
ECHO.
ECHO You may see some warning messages appear on your screen while the
ECHO patch is running. These are normal and may be ignored.
ECHO.
ECHO Updating files, Please wait ...
ECHO.
PATCH /V /I %1 UWCP11C1.RTP >NUL
PATCH /V /I %1 UWCP11C2.RTP >NUL
PATCH /V /I %1 UWCP11E.RTP >NUL
ECHO.
ECHO Update complete! WinComm PRO 1.1 is ready to use!
ECHO.
ECHO To ensure that your version of WinComm PRO was successfully updated,
ECHO select Help/About from within WinComm PRO. The release date listed
ECHO within the dialog should be dated May 18, 1995.
ECHO.
GOTO END
:BIGBEGINGO
CLS
IF NOT EXIST UWCP11A.RTP GOTO BIGPERROR
IF NOT EXIST UWCP11B.RTP GOTO BIGPERROR
IF NOT EXIST UWCP11C1.RTP GOTO BIGPERROR
IF NOT EXIST UWCP11C2.RTP GOTO BIGPERROR
IF NOT EXIST UWCP11D.RTP GOTO BIGPERROR
IF NOT EXIST UWCP11E.RTP GOTO BIGPERROR
IF NOT EXIST PATCH.EXE GOTO BIGPERROR
ECHO The patch process is about to begin, please be sure that you
ECHO have completely exited from Windows and are not running this patch
ECHO from within a DOS session.
ECHO.
ECHO If you are unsure, press CTRL-C now to stop the upgrade, otherwise:
ECHO.
PAUSE
ECHO.
ECHO You may see some warning messages appear on your screen while the
ECHO patch is running. These are normal and may be ignored.
ECHO.
ECHO Updating files, Please wait ...
ECHO.
PATCH /V /I %1 UWCP11A.RTP >NUL
PATCH /V /I %1 UWCP11B.RTP >NUL
PATCH /V /I %1 UWCP11C1.RTP >NUL
PATCH /V /I %1 UWCP11C2.RTP >NUL
PATCH /V /I %1 UWCP11D.RTP >NUL
PATCH /V /I %1 UWCP11E.RTP >NUL
ECHO.
ECHO Update complete! WinComm PRO 1.1 is ready to use!
ECHO.
ECHO To ensure that your version of WinComm PRO was successfully updated,
ECHO select Help/About from within WinComm PRO. The release date listed
ECHO within the dialog should be dated May 18, 1995.
ECHO.
GOTO END
:BIGPERROR
ECHO.
ECHO ** STOP: Patch file(s) missing! **
ECHO.
ECHO One or more of the patch files (.RTP) is missing, please be sure
ECHO you have the all supplied patch files located in this directory.
ECHO Check the README.TXT file for a complete list of required files.
ECHO.
ECHO One or all of the following files is missing:
ECHO.
ECHO UWCP11A.RTP, UWCP11B.RTP, UWCP11C1.RTP, UWCP11C2.RTP, UWCP11D.RTP,
ECHO UWCP11E.RTP or PATCH.EXE
ECHO.
GOTO END
:SMALLPERROR
ECHO.
ECHO ** STOP: Patch file(s) missing! **
ECHO.
ECHO One or more of the patch files (.RTP) is missing, please be sure
ECHO you have the all supplied patch files located in this directory.
ECHO Check the README.TXT file for a complete list of required files.
ECHO.
ECHO One or all of the following files is missing:
ECHO.
ECHO UWCP11C1.RTP, UWCP11C2.RTP, UWCP11E.RTP or PATCH.EXE
ECHO.
GOTO END
:FIRST
ECHO.
ECHO WinComm PRO 1.1 upgrade patch (via DOS) May 18, 1995
ECHO ===============================================================================
:HELP
ECHO.
ECHO This batch file will upgrade your existing version of WinComm PRO 1.1
ECHO to the May 18, 1995 update. Please ensure you have completely shut down
ECHO Windows before executing this patch.
ECHO.
ECHO NOTE: This patch will ONLY work on versions of WinComm PRO dated
ECHO March 24, 1995. DO NOT execute this patch on older releases
ECHO of WinComm PRO 1.1. To check version dates, select Help and
ECHO About from within WinComm PRO.
ECHO.
ECHO Syntax:
ECHO DOSUP { WinComm PRO 1.1 directory }
ECHO.
ECHO Example: DOSUP C:\WINCOMM
ECHO.
GOTO END
:END